package com.letian.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 电话本对象 phone_book
 * 
 * @author bmz
 * @date 2023-01-15
 */
public class PhoneBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private Long phoneId;

    /** 归属编码 */
    @Excel(name = "归属编码")
    private Long belongId;

    /** 归属类型 */
    @Excel(name = "归属类型")
    private String belongType;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /** 删除标志 */
    private String delFlag;

    /** 更新次数 */
    @Excel(name = "更新次数")
    private Long updateCount;

    public void setPhoneId(Long phoneId) 
    {
        this.phoneId = phoneId;
    }

    public Long getPhoneId() 
    {
        return phoneId;
    }
    public void setBelongId(Long belongId) 
    {
        this.belongId = belongId;
    }

    public Long getBelongId() 
    {
        return belongId;
    }
    public void setBelongType(String belongType) 
    {
        this.belongType = belongType;
    }

    public String getBelongType() 
    {
        return belongType;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUpdateCount(Long updateCount) 
    {
        this.updateCount = updateCount;
    }

    public Long getUpdateCount() 
    {
        return updateCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phoneId", getPhoneId())
            .append("belongId", getBelongId())
            .append("belongType", getBelongType())
            .append("phoneNumber", getPhoneNumber())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateCount", getUpdateCount())
            .append("remark", getRemark())
            .toString();
    }
}
